package conson.tech.manage.coupons.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * ClassName: CouponsBatchVo
 * Description: 优惠券查询list列表
 * @Author: ZYF
 * Date: 2020/07/20
 * Version: 1.0
 */
@ApiModel(value = "conson.tech.manage.coupons.entity.vo.CouponsGrantInformationVo",description = "优惠券全状态-优惠券信息")
@Data
public class CouponsGrantInformationVo implements Serializable {


    /**优惠券类型*/
    @ApiModelProperty(value = "优惠券类型")
    private Integer batchType;

    /**优惠券状态*/
    @ApiModelProperty(value = "优惠券状态 0有效、1已使用、2已过期、3已作废,4 已锁定")
    private Integer state;

    /**优惠券金额*/
    @ApiModelProperty(value = "优惠券金额")
    private BigDecimal batchMoney;

    /**优惠券折扣*/
    @ApiModelProperty(value = "优惠券折扣")
    private BigDecimal batchDiscount;

    /**优惠券限额*/
    @ApiModelProperty(value = "优惠券限额")
    private BigDecimal limitMoney;

    /**优惠券有效起期*/
    @ApiModelProperty(value = "有效开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    /**优惠券有效止期*/
    @ApiModelProperty(value = "有效结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    /**批次id*/
    @ApiModelProperty(value = "批次id")
    private Long id;

    /**批次名称*/
    @ApiModelProperty(value = "批次名称")
    private String batchName;


    /**使用限制说明*/
    @ApiModelProperty(value = "使用限制说明")
    private String usedDes;

}
